# Copyright  2009
#  @Author
#   Richard Changde Yin            e-mail yinchangde@hotmail.com.
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 GNU General Public License as
# published by the Free Software Foundation.
#
# There are special exceptions to the terms and conditions of the GPL as it
# is applied to this software. View the full text of the exception in file
# EXCEPTIONS-CLIENT in the directory of this software distribution.
# 
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Library General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

# This file is public domain and comes with NO WARRANTY of any kind

LDADD=			$(top_builddir)/libclient/libclient.la \
			$(top_builddir)/mainsrc/libsysutil.la \
			$(LIBINTL) $(LIBZ) 


noinst_HEADERS =	readline.h \
			client_priv.h \
			clienterrname.h

CLEANFILES =		$(BUILT_SOURCES)

bin_PROGRAMS=    esql 

esql_SOURCES=		esqlmain.cc readline.cc 
esql_LDADD=			${LDADD} ${READLINE_LIBS}
esql_CXXFLAGS =		${AM_CXXFLAGS} ${W_EXCEPTIONS} 

